using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HoseAdapter.FileParser.Structure
{
    public sealed class TFPTDeal
    {
        private String mTimestamp;
        [FieldLength(6)]
        public String TimeStamp
        {
            get { return mTimestamp; }
            set { mTimestamp = value; }
        }

        private String mMessageType;

        [FieldLength(2)]
        public String MessageType
        {
            get { return mMessageType; }
            set { mMessageType = value; }
        }
        
        private String mFirmS;
        [FieldLength(3)]
        public String FirmSeller
        {
            get { return mFirmS; }
            set { mFirmS = value; }
        }

        private String mTradeIDS;
        [FieldLength(4)]
        public String TradeIDSeller
        {
            get { return mTradeIDS; }
            set { mTradeIDS = value; }
        }

        private String mClientIDS;
        [FieldLength(10)]
        public String ClientIDSeller
        {
            get { return mClientIDS; }
            set { mClientIDS = value; }
        }

        private String mContraFirm;

        [FieldLength(3)]
        public String ContraFirmBuyer
        {
            get { return mContraFirm; }
            set { mContraFirm = value; }
        }

        private String mTradeID;
        [FieldLength(4)]
        public String TradeIDBuyer
        {
            get { return mTradeID; }
            set { mTradeID = value; }
        }

        private String mSecuritySymbol;
        [FieldLength(8)]
        public String SecuritySymbol
        {
            get { return mSecuritySymbol; }
            set { mSecuritySymbol = value; }
        }

        private String mPrice;
        [FieldLength(12)]
        public String Price
        {
            get { return mPrice; }
            set { mPrice = value; }
        }

        private String mBoard;
        [FieldLength(1)]
        public String Board
        {
            get { return mBoard; }
            set { mBoard = value; }
        }

        private String mDealID;
        [FieldLength(5)]
        public String DealID
        {
            get { return mDealID; }
            set { mDealID = value; }
        }

        private String mFilter;
        [FieldLength(4)]
        public String Filter1
        {
            get { return mFilter; }
            set { mFilter = value; }
        }

        private String mBrokerPortfolioVolS;
        [FieldLength(8)]
        public String BrokerPortfolioVolSeller
        {
            get { return mBrokerPortfolioVolS; }
            set { mBrokerPortfolioVolS = value; }
        }

        private String mBrokerClientVolS;
        [FieldLength(8)]
        public String BrokerClientVolSeller
        {
            get { return mBrokerClientVolS; }
            set { mBrokerClientVolS = value; }
        }

        private String mMutualFundVolS;
        [FieldLength(8)]
        public String MutualFundVolSeller
        {
            get { return mMutualFundVolS; }
            set { mMutualFundVolS = value; }
        }

        private String mBrokerForeignVolS;
        [FieldLength(8)]
        public String BrokerForeignVolSeller
        {
            get { return mBrokerForeignVolS; }
            set { mBrokerForeignVolS = value; }
        }

        private String mFilters;

        [FieldLength(32)]
        public String Filter2
        {
            get { return mFilters; }
            set { mFilters = value; }
        }

        private Int32 mOffset;

        [FieldLength(4)]
        public Int32 Offset
        {
            get { return mOffset; }
            set { mOffset = value; }
        }
    }
}
